package com.springcloud.alibabanacosconfig.mq.controller;

import com.springcloud.alibabanacosconfig.mq.service.InitService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version V1.0
 * @Author 宋聚智
 * @Date 2019/10/23 14:51
 * @description
 * @Modify By：
 * @ModifyTime： 2019/10/23
 * @Modify marker：
 **/
@RestController
@Slf4j
public class UserOrderController {
    @Autowired
    InitService initService;
    @GetMapping("testuserOrder")
    public String robbingThread(){
        initService.generateMultiThread();
        return "OK";
    }
}
